﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HotelManageSystem.Models
{
    public class PostModel
    {
        [ScaffoldColumn(false)]
        public int ID { get; set; }

        [Required(ErrorMessage="必须输入职位名称")]
        [StringLength(10,ErrorMessage="长度不能超过10个字符")]
        [Display(Name="职位名称")]
        public string Title { get; set; }

        [StringLength(60,ErrorMessage="长度不能超过60个字符")]
        [Display(Name="备注")]
        public string Remark { get; set; }
    }
}